package cn.shop.admin.entity.backUserModule;

import cn.shop.utils.constant.Regular;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

/**
 * 总后台用户表(BackUser)表实体类
 *
 * @author jzw
 * @since 2021-11-03 09:07:55
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TransactionPasswordReq {

	@NotNull(message = "请输入手机号")
	private String phone;

	@NotNull(message = "请输入验证码")
	private String code;

	@NotNull(message = "请输入交易密码")
	@Pattern(regexp = Regular.PASSWORD6, message = Regular.PASSWORD6_MASSAGE)
	private String password;

}

